package com.example.service;

import com.example.dto.StoreQueryVO;
import com.example.entity.StoreInfo;
import com.example.mapper.StoreMapper;
import com.example.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StoreServiceImpl implements StoreService {

    @Autowired
    private StoreMapper storeMapper;

    @Override
    public List<StoreInfo> listByQuery(StoreQueryVO vo) {
        return storeMapper.selectByQuery(vo);
    }
}
